package com.nail.utils;

import com.nail.common.Constant;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Result4API {

	private Integer code = Constant.API_CODE_SUCCESS;
	
	private String msg = Constant.API_MSG_SUCCESS;
	
	private Object data;
	
	public Result4API(){
		
	}
	
	public Result4API(Integer code, String msg){
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	
}
